package com.xbs.service.selfdriving;

import java.util.List;

import com.xbs.dao.selfdriving.CarDao;
import com.xbs.entity.CarEntity;

/**
 * 自驾租车业务处理类
 * @author Administrator
 *
 */
public class CarService {

	private CarDao cardao;
	
	public CarService(){
		cardao = new CarDao();
	}
	
	/**
	 * 
	 * 1. 查询车信息
	 * @return
	 */
	public List<CarEntity> getCar(){
		
		return cardao.getCar();
	}
}
